package params

type QrcodeInfo struct {
	Expire_seconds int `json:"expire_seconds"`
	// 二维码类型，QR_SCENE为临时的整型参数值，QR_STR_SCENE为临时的字符串参数值，QR_LIMIT_SCENE为永久的整型参数值，QR_LIMIT_STR_SCENE为永久的字符串参数值
	Action_name string      `json:"action_name"`
	Action_info Action_info `json:"action_info"`
}

type Action_info struct {
	Scene Scene `json:"scene"`
}

type Scene struct {
	Scene_id  int    `json:"scene_id"`
	Scene_str string `json:"scene_str"`
}

type QrcodeResp struct {
	Ticket         string `json:"ticket"`
	Expire_seconds int    `json:"expire_seconds"`
	Url            string `json:"url"`
}
